package com.mrjy.activity.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.ResultHandler;

import com.mrjy.activity.dto.TeacherDTO;
import com.mrjy.common.entity.ActivityUserRel;

public interface IActivityUserRelDao {
    int deleteByPrimaryKey(Integer id);
    
    int deleteByActivityId(Integer activityId);

    int insert(ActivityUserRel record);

    int insertSelective(ActivityUserRel record);

    ActivityUserRel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ActivityUserRel record);

    int updateByPrimaryKey(ActivityUserRel record);

	int insertBatch(List<ActivityUserRel> teacherList);
	
	List<TeacherDTO> queryByActivityId(@Param("activityIds")Integer[] activityIds, ResultHandler resultHandler);
}